home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000182_news@columbia.edu _Mon Oct 11 09:55:15 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA06056
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 11 Oct 1999 09:55:15 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA28026
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 11 Oct 1999 09:35:19 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: set line: Sorry can't open connection
  11. Date: 11 Oct 1999 13:35:18 GMT
  12. Organization: Columbia University
  13. Message-ID: <7tsp2m$rbo$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <3801600F.65ED7F54@mediaone.net>,
  17. Art Wildman  <wildman@mediaone.net> wrote:
  18.  
  19. : Thanks for the quick response, I just found this group while looking for
  20. : more info on kermit & thought I'd ask.
  21. :
  22. : Frank da Cruz wrote:
  23. :
  24. : > What version of C-Kermit do you have?
  25. :
  26. : Ver 6x comes with HPUX 10.20 I think, Not sure I'm doing this from memory...
  27. Right, C-Kermit 6.0 is included with HP-UX 10.00 and above.  But C-Kermit
  28. 6.0 is getting old and C-Kermit 7.0 is close to release.
  29.  
  30. : > : Can send string from pc com1 to hp tty2a3 OK.
  31. : > : "The quick brown fox..."
  32. : >
  33. : > How do you know it's OK?  C-Kermit is in CONNECT mode and you see it on
  34. : > the HP's screen?
  35. :
  36. : Yes
  37. :
  38. : > How is the PC connected to the HP?  A null modem cable?  
  39. :
  40. : Yes
  41. :
  42. : > A *true* null modem cable, or the fakeout kind?  
  43. :
  44. : fakeout loopback on pc side rts-cts & dsr-dtr, but just using 3 wires to
  45. : tty2a3 - 2, 3 & 7.
  46. A true 9- or 10-wire null modem with all cross-connects (RxD/TxD, RTS/CTS,
  47. DTR/CD, DSR/CD), as shown on p.494 of the C-Kermit manual, is recommended.
  48. If the HP-UX port driver requires certain signals, and they aren't there,
  49. then it's not going to let the application use the port.  This, in turn,
  50. depends on which driver you are using.  You said "tty2a3".  OK, that's the
  51. one for hardwired ports.  But maybe it needs DSR and your cable isn't
  52. providing it.
  53.  
  54. : > Did you build it yourself?  How do you know it's wired appropriately?
  55.  
  56. : Yes, and I was able to test 2way comms by enabling device using HP's SAM,
  57. : then respawning getty on same port set to 9600 hard-wired in inittab, init
  58. : q -now able to hit rtn twice on pc procomm terminal and get login
  59. : message. I was able to login, verifying 2-way comms. I found a partial
  60. : procedure to test a port using kermit, and wanted to learn more about
  61. : kermit.
  62. :  
  63. If you want to use Kermit on each end without a login on the HP port,
  64. obviously you'll need to be logged in to the HP some other way.  Then try
  65. the setup given in the manual for direct serial connections:
  66.  
  67.   set modem type none     ; Tell Kermit there is no modem
  68.   set carrier-watch off   ; Don't require CD
  69.   set flow none           ; No flow control
  70.   set port /dev/tty2a3    ; Open the port
  71.   set speed 9600          ; Set the speed
  72.   connect
  73.  
  74. set up the PC the same way.
  75.  
  76. : > : while playing around with port settings (duplex=full) I managed to
  77. : > : lock up kermit.
  78. : >
  79. : > What makes you conclude it is locked up?  Are you saying it was in
  80. : > CONNECT mode, and then you could no longer escape back?
  81. :
  82. : Yes it was in connect mode, I tried ctrl-\ c repeatedly, also ctrl-c and
  83. : every other key sequence I could think of... no response.
  84. :
  85. Then probably it was stuck in a system call (like read() on the port).
  86. Try following the instructions above and this shouldn't happen.
  87.  
  88. - Frank